home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / MacGS 2.5.2ß3 / (MacGSLib.π) / gmacprefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-17  |  1.4 KB  |  65 lines  |  [TEXT/R*ch]

  1. #ifndef _H_gmacprefs
  2. #define _H_gmacprefs
  3.  
  4. /* Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
  5.    Distributed by Free Software Foundation, Inc.
  6.  
  7. This file is part of Ghostscript.
  8.  
  9. Ghostscript is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  11. to anyone for the consequences of using it or for whether it serves any
  12. particular purpose or works at all, unless he says so in writing.  Refer
  13. to the Ghostscript General Public License for full details.
  14.  
  15. Everyone is granted permission to copy, modify and redistribute
  16. Ghostscript, but only under the conditions described in the Ghostscript
  17. General Public License.  A copy of this license is supposed to have been
  18. given to you along with Ghostscript so you can know your rights and
  19. responsibilities.  It should be in a file named COPYING.  Among other
  20. things, the copyright notice and this notice must be preserved on all
  21. copies.  */
  22.  
  23.  
  24. #include "gmacres.h"
  25.  
  26.  
  27. typedef struct
  28. {
  29.     char    flags;
  30.     char    _fill1;
  31.  
  32.     short    winWidth;
  33.     short    winHeight;
  34.  
  35.     short    pageWidth;
  36.     short    pageHeight;
  37.  
  38.     short    consoleRows;
  39.     short    consoleCols;
  40.  
  41.     OSType    fCreator;
  42.  
  43.     short    delScroll;
  44.  
  45. } **MacPrefsH;
  46.  
  47.  
  48. enum _macPrefs
  49. {
  50.     iUseCLI        = 0x80,
  51.     iUseWinRes  = 0x40,
  52.     iUsePageRes = 0x20,
  53.     iUseConsRes    = 0x10,
  54.     iExitPause    = 0x08,
  55.  
  56.     _iLastMacPref_
  57. };
  58.  
  59.  
  60. #define MACPREFS_DEFAULT_FCREATOR    (ResType) '????'
  61. #define MACPREFS_DEFAULT_DELSCROLL    5
  62.  
  63.  
  64. #endif /* _H_gmacprefs */
  65.